package com.twt.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.twt.model.system.entity.SysAccount;
import com.twt.model.system.vo.SysAccountAddVo;

/**
 * @ClassName:SysAccount
 * @Author:TwT
 * @Date:2022/6/15 23:06
 * @Version:1.0
 **/
public interface SysAccountService extends IService<SysAccount> {
    /**
     * @Description: 注册账号
     * @Author: TWT
     * @Date: 21:03 2022/6/22
     * @param:[sysAccountAddVo]
     * @return:void
     **/
    void registryAccount(SysAccountAddVo sysAccountAddVo);

    /**
     * @Description: 由管理员添加账号
     * @Author: TWT
     * @Date: 21:03 2022/6/22
     * @param:[sysAccount]
     * @return:void
     **/
    void addAccount(SysAccount sysAccountAddVo);
    /**
     * @Description: 校验正好是否存在
     * @Author: TWT
     * @Date: 21:04 2022/6/22
     * @param:[account]
     * @return:java.lang.Boolean
     **/
    Boolean checkAccountExist(String account);

}
